<template>
    <div class="space_box">
        <div class="project_title">
            <li class="project_left">
                <p>就业交流
                    <sub>/Employment exchange</sub>
                </p>

                <img class="icon1" src="@/assets/home/icon1.png" alt="">
                <img class="icon2" src="@/assets/home/icon2.png" alt="">
            </li>
            <slot name="project_ri"></slot>

        </div>
    </div>
</template>

<script setup>
import {
    reactive, ref, onMounted
} from 'vue'
const list = defineProps({
    nuber: {
        typeof: Number
    },
    title: String,
    subtitle: String
})
</script>

<style lang="scss" scoped>
@media screen and (min-width:1200px) {
    .space_box {
        width: 1000px;
        margin: 0 auto;
        padding: 40px 0;
    }

    .project_title {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;

        .project_left {
            height: 60px;
            border-radius: 8px 0 0 8px;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            position: relative;
            background-color: #1CABD9;

            p {
                padding-left: 20px;
                position: relative;
                z-index: 5;
                font-size: 30px;
            }

            sub {
                position: relative;
                z-index: 5;
                font-size: 12px;
                bottom: 5px;
            }

            .icon1 {
                // width: 343px;
                position: absolute;
                height: 60px;
                right: -50px;
                bottom: 0;
            }

            .icon2 {
                width: 120px;
                position: absolute;
                height: 40px;
                bottom: -9px;
                right: -76px;
            }
        }
    }
}

@media screen and (max-width: 1200px) {
    .project_title {
        display: flex;
        width: 90vw;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5vw;

        .project_left {
            // min-width: 38vw;
            height: 8vw;
            border-radius: 0.9vw 0 0 0.9vw;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            position: relative;
            background-color: #1CABD9;

            p {
                padding-left: 3vw;
                position: relative;
                z-index: 5;
                font-size: 4vw;
            }

            sub {
                position: relative;
                z-index: 5;
                font-size: 1vw;
                bottom: 0.5vw;
            }

            .icon1 {
                // width: 38vw;
                position: absolute;
                height: 8vw;
                right: -6vw;
                bottom: 0;
            }

            .icon2 {
                width: 14vw;
                position: absolute;
                height: 5vw;
                bottom: -1vw;
                right: -8.5vw;
            }
        }
    }
}</style>